package top.wangjiu.reactive.rpc.spring.server;


import org.springframework.stereotype.Service;

import java.lang.annotation.*;

@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
@Service
public @interface RpcService {

    //发布的服务的接口，
    Class value();

    int version();

    int timeout() default 0;

}
